#include <stdio.h>
#include <sys/time.h>
#include <signal.h>

int main(int argc, char *argv[])
{
    struct itimerval *t;
    t->it_interval.tv_sec = 20;
    t->it_interval.tv_usec = 0;
    t->it_value.tv_sec = 60;
    t->it_value.tv_usec = 0;

    if(setitimer(ITIMER_REAL, t, NULL) == -1) {
        return 1;
    }

    signal(SIGALRM, sig_point);

    while(1) {
        sleep(5);
    }
    return 0;
}
